﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Users;

namespace WanPiJie.WebSite
{
	public partial class AvatarOperationDemo : PageMustLogin_Baby
	{
		protected void Page_Load(object sender, EventArgs e)
		{
			var user = UserWeb.GetOnlineUser();
			var baby = WpjSf.BabyService.GetBabies(user.Id)[0];
			babyAvatar.BabyId = baby.Id;
			babyAvatar.UserId = user.Id;
			babyAvatar.AvatarType = AvatarType.Both;

		}
	}
}